<?php
/**
 * TinyMVC - IndexActionController.class.php file
 * 
 * @author Adrian Wieczorek <adi(at)tinymvc(dot)org>
 * @package ProjectTemplate
 * @version $Id: IndexActionController.class.php 3 2007-09-11 12:08:07Z adi3ek $
 * 
 */

/**
 * example of module action controller class
 * @package ProjectTemplate
 */
class IndexActionController extends TinyMVCActionController {
				
	/**
	 * default action method
	 */
	public function defaultAction() {
		$helloMessage = 'Hello World!';
		
		$this->model->add('helloMessage', $helloMessage);
		$this->view->add('index', 'index.view');
		$this->view->add('footer', 'footer.view');
		
	}   
}
